<?php use application\Comm\Func;?>
<div class="bjui-pageContent">
    <form action="<?php echo Func::createUrl('producttag/editdo',['id'=>$data['id']])?>" id="editForm" class="pageForm" data-toggle="validate"
          data-reload-navtab="true">
        <table class="table table-condensed table-hover" width="100%">
            <tbody>
            <tr>
                <td colspan="2">
                    <label class="control-label x100">名称：</label>
                    <input id="name" type="text" name="info[name]" value="<?php echo $data['name']?>" data-rule="required;remote[/producttag/checkonly.html]"/>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <label class="control-label x100">状态：</label>
                    <select name="info[status]" data-toggle="selectpicker" data-width="300">
                        <option <?php echo $data['status']==0?'selected="selected"':'';?> value="0">隐藏</option>
                        <option <?php echo $data['status']==1?'selected="selected"':'';?> value="1">显示</option>
                    </select>
                </td>
            </tr>


            </tbody>
        </table>
    </form>
</div>

<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
        <li>
            <button type="submit" class="btn btn-blue" data-icon="save">保存</button>
        </li>
    </ul>
</div>